import styled from 'styled-components'

export const MyHome = styled.div`
  .home-page {
    background-color: #f5f6f7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    .home-header {
      display: flex;
      gap: 3px;
      align-items: center;
      padding: 10px;
      background: #fff;
      img {
        height: 30px;
      }
      .location {
        font-weight: 600;
        margin-right: 8px;
        color: #333;
      }
    }

    .banner {
      margin: 10px;
      border-radius: 8px;
      overflow: hidden;
      .swiper {
        height: 160px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }
    }

    .grid {
      margin: 10px;
      img {
        height: 93px;
      }
    }

    .hospital-list {
      padding: 0 10px 70px;

      .hospital-card {
        margin-bottom: 10px;
        border-radius: 8px;
        overflow: hidden;

        .hospital-item {
          display: flex;
          gap: 10px;
        }

        .hospital-img {
          width: 80px;
          height: 80px;
          border-radius: 6px;
          object-fit: cover;
        }

        .hospital-info {
          display: flex;
          flex-direction: column;
          gap: 5px;
          h4 {
            margin: 0;
            font-size: 16px;
            font-weight: 700;
            color: #333;
          }

          .level {
            color: rgb(99, 173, 177);
            font-weight: 600;
            font-size: 13px;
            margin: 4px 0;
          }

          .desc {
            color: #999;
            font-size: 12px;
          }
        }
      }
    }
  }
`
